﻿<Window x:Class="sunsetmp.DialogWindow.CaptchaWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Height="201.297" Width="306.44" WindowStyle="None" Title="Капча" AllowsTransparency="True" Background="{x:Null}" Foreground="{x:Null}"  Icon="/Themes/Icons/Logo.ico">
    <Border CornerRadius="7,7,7,7" Background="{DynamicResource MyBackground}" BorderThickness="1" BorderBrush="Black" MouseLeftButtonDown="Border_MouseLeftButtonDown_1">
        <Grid>
            <Image Height="50" Width="130" Margin="87,60,94,89" x:Name="Captcha"/>
            <TextBox x:Name="CapchaTextBox" Margin="63,115,61,50" Width="180" FontSize="16"/>
            <Button Content="ОК" HorizontalAlignment="Center" Name="ConnectButton" Foreground="White" Margin="77,170,177,10" Width="50" Height="18" FontSize="14" Click="ConnectButton_Click_1" />
            <Button Content="Отмена"   Name="OfflineButton" VerticalAlignment="Center"  Foreground="White" Margin="152,170,72,10" Width="80" Height="18" FontSize="14" Click="OfflineButton_Click_1" />
            <Grid Height="20" Width="20" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="-1,1,1,-1">
                <Button x:Name="CloseW" Click="CloseW_Click_1" />
                <Path Data="{StaticResource closeStyle0}" HorizontalAlignment="Center" Fill="{DynamicResource MyItemColor}" Stretch="Fill" IsEnabled="False" AllowDrop="False" IsHitTestVisible="False" RenderTransformOrigin="0.5,0.5"  >
                    <Path.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="0.7" ScaleY="0.7"/>
                        </TransformGroup>
                    </Path.RenderTransform>
                </Path>
            </Grid>
            <Label Content="Вывалила капча"  HorizontalAlignment="Center" Margin="18,26,17,0" VerticalAlignment="Top" Foreground="{DynamicResource MyTextColor}" FontSize="14"/>
        </Grid>
    </Border>
</Window>